export const ORDER_STATUS = {
  WaitPaid: 1,
  Paid: 2,
  PaidFailed: 3,
  Canceled: 4,
  Closed: 5,
  Refunding: 6,
  Refunded: 7,
  PartialRefund: 8,
  Disputing: 9,
  Freezed: 10,
}

export const ORDER_STATUS_TEXT = {
  [ORDER_STATUS.WaitPaid]: '待支付',
  [ORDER_STATUS.Paid]: '已支付',
  [ORDER_STATUS.PaidFailed]: '支付失败',
  [ORDER_STATUS.Canceled]: '已取消',
  [ORDER_STATUS.Closed]: '已关闭',
  [ORDER_STATUS.Refunding]: '退款中',
  [ORDER_STATUS.Refunded]: '已退款',
  [ORDER_STATUS.PartialRefund]: '部分退款',
  [ORDER_STATUS.Disputing]: '争议中',
  [ORDER_STATUS.Freezed]: '冻结',
}